import {takeEvery,take} from "../../redux-saga/effects";
function* logger() {
    console.log('logger');
}

export default function* () {
    for (let i=0;i<3;i++) {
        yield take('ASYNC_INCREMENT')
        yield logger()
    }

    // yield takeEvery('ASYNC_INCREMENT',logger);
    console.log('logsaga执行完了')

}





